package com.itheima.strategy;

public class Gustomer {
    private IPay pay;
    public void setPay(IPay pay) {
        this.pay = pay;
    }
    public void pay(double money) {
        pay.pay(money);
    }
}
